#pragma once
#include "shader_cg.h"

#include <Cg/cgGL.h>

namespace krryn{
namespace system_imp{
	class shader_cg_opengl : public shader_cg{
	public:
		shader_cg_opengl(const std::string &a_Filename, CGcontext a_Context);
		virtual ~shader_cg_opengl() {}
		virtual void enable();
		virtual void disable();
		void check_error(CGcontext cgContext) const;
	private:
		CGparameter m_Projection;
	};
}
}